package com.wlts.wzy.DYUserModule.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wlts.wzy.Base.BaseEntity;
import com.wlts.wzy.KSUserModule.entity.KsOauth;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 抖音商铺用户
 * </p>
 *
 * @author zhiyong
 * @since 2021-02-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="DyStoreUser对象", description="抖音商铺用户")
public class DyStoreUser extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户uid")
    private String uuid;

    @ApiModelProperty(value = "商铺名字")
    private String storeName;

    @ApiModelProperty(value = "商品头像")
    private String storeImg;

    @ApiModelProperty(value = "登录名")
    private String name;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "appKey")
    private String appKey;

    @ApiModelProperty(value = "app密钥")
    private String appSecret;

    @ApiModelProperty(value = "商家名字")
    private String dyName;

    @ApiModelProperty(value = "卖家id")
    private Long dySellerId;


    @ApiModelProperty(value = "令牌")
    @TableField(exist = false)
    private String token;

    @ApiModelProperty(value = "DY授权信息")
    @TableField(exist = false)
    private DyOauth dyOauth;

    @TableField(exist = false)
    @ApiModelProperty(value = "新密码 修改时用")
    private String newPassword;
}
